package com.ziroom.crm.rock.spring.config;

import com.ziroom.crm.mq.core.config.MqConfig;
import lombok.Data;

@Data
public class MqSpiConfig {

    /**
     * spi加载时，需要排除的class , 可以多个, 逗号分隔
     */
    private String excludeClass;

    public void initMqConfigSpi() {
        MqConfig.setConfigOrDefault(MqConfig.SPI_EXCLUDE_CLASS, excludeClass);
    }
}
